package com.zhaoyizhe.demo.Controller;

import com.zhaoyizhe.demo.aspect.CostTime;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @CostTime
    @RequestMapping("/t1")
    public String Test01() {
        return "t1";
    }

    @RequestMapping("/t2")
    public String Test02() {
        return "t2";
    }
}
